package com.retail.order.domain;

import java.math.BigDecimal;

public class OrderSku {
    /**
     * 订单sku中间表id
     */
    private Integer orderSkuId;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * skuid
     */
    private Integer skuId;
    /**
     * 数量
     */
    private Integer skuNumber;

    /*
    * 商品的总价格
    * */
    private BigDecimal skuPrice;

    public OrderSku(Integer orderSkuId,Integer orderId,Integer skuId,Integer skuNumber){
        this.orderSkuId=orderSkuId;
        this.orderId=orderId;
        this.skuNumber=skuNumber;
        this.skuId=skuId;
    }

   public OrderSku(){
   }

   public Integer getOrderSkuId(){
        return orderSkuId;
   }

   public void setOrderSkuId(Integer orderSkuId){
        this.orderSkuId=orderSkuId;
   }

   public Integer getOrderId(){
        return orderId;
   }

   public void setOrderId(Integer orderId){
        this.orderId=orderId;
   }

   public Integer getSkuId(){
        return skuId;
   }

   public void setSkuId(Integer skuId){
        this.skuId=skuId;
   }

   public Integer getSkuNumber(){
        return skuNumber;
   }

   public void setSkuNumber(Integer skuNumber){
        this.skuNumber=skuNumber;
   }

    @Override
    public String toString() {
        return "OrderSku{" +
                "orderSkuId=" + orderSkuId +
                ", orderId=" + orderId +
                ", skuId=" + skuId +
                ", skuNumber=" + skuNumber +
                '}';
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }
}
